#ifndef __STRATEGIC_DATA_VIEW_H__
#define __STRATEGIC_DATA_VIEW_H__

#include "gofgame/common/ui/TabControl.h"
#include "gofgame/common/ui/ChoiceView.h"
#include "gofgame/dungeonkeeper/ui/HeroView.h"
#include "gofgame/dungeonkeeper/ui/UnitView.h"
#include "gofgame/dungeonkeeper/ui/ProduceView.h"
#include "gofgame/dungeonkeeper/ui/ItemView.h"
#include "gofgame/common/resource/HornedTextureBrushResource.h"
#include "gofgame/common/resource/TextureBrushResource.h"

namespace gofgame {
	namespace dungeonkeeper {
		namespace ui {

			using namespace gofgame::common::ui;
			using namespace gofgame::common::resource;

			class StrategicDataView : public TabControl {
			public:
				virtual bool init() _override;

			protected:
				virtual void drawCardsBackground() _override;
				virtual void drawCardsBaseLine() _override;
				virtual void drawTabButton(TabPage *tabPage, const CCRect& tabButtonRect) _override;

			private:
				Ref<HeroView> heroView;
				Ref<UnitView> unitView;
				Ref<ProduceView> produceView;
				Ref<ItemView> itemView;

				static HornedTextureBrushResource selectedHeroTabResource;
				static HornedTextureBrushResource heroTabResource;
				static HornedTextureBrushResource selectedUnitTabResource;
				static HornedTextureBrushResource unitTabResource;
				static HornedTextureBrushResource selectedProduceTabResource;
				static HornedTextureBrushResource produceTabResource;
				static HornedTextureBrushResource selectedItemTabResource;
				static HornedTextureBrushResource itemTabResource;
				static TextureBrushResource tabCardBackResource;
				static TextureBrushResource tabBaseLineResource;
			};
		}
	}
}

#endif //__STRATEGIC_DATA_VIEW_H__
